﻿using Tools.Api.Cache;

namespace Tools.Cache {
    /// <summary>
    /// 缓存工厂
    /// </summary>
    public class CacheStorageFactory {

        /// <summary>
        /// 内存缓存
        /// </summary>
        /// <returns></returns>
        public static ICacheStorage GetMemoryStorage() {
            return new MemoryCacheAdatper();
        }
    }
}
